package cn.zebra.dev.admin.module.admin.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDateTime;

/**
 * @author runnable@sina.cn
 */
@Getter
@Setter
@ToString
public class AdminListDTO {

    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("0系统后台用户")
    private Integer adminType;

    @ApiModelProperty("后台用户账号")
    private String account;

    @ApiModelProperty("最后登录ip")
    private String lastLoginIp;

    @ApiModelProperty("最后登录时间")
    private LocalDateTime lastLoginTime;

    @ApiModelProperty("0 正常 1 冻结")
    private Integer status;

    @ApiModelProperty(value = "用户角色id")
    private LocalDateTime createTime;
}
